use chrono::NaiveDateTime;

#[derive(Queryable)]
pub struct Category {
    pub id: i32,
    pub cat_name: String,
    pub cat_id: i32,
    pub level: i32,
    pub parent_cat_id: i32,
    pub m_sort: i32,
    pub loaded: bool,
    pub created_at: Option<NaiveDateTime>,
    pub updated_at: Option<NaiveDateTime>,
}